//
//  e7log.h
//  e7engine
//
//  Created by cc on 12-6-6.
//  Copyright (c) 2012年 cc. All rights reserved.
//

#ifndef e7engine_e7log_h
#define e7engine_e7log_h

#include "e7utilitydefine.h"
#include "e7singleton.h"

namespace e7engine {

    class CE7Log : public CE7Singleton<CE7Log>
    {
    public:
        void _Log(eLogLevel lv, const char* format, va_list ap) ;

    private:
        CE7Log() ;
        ~CE7Log() ;

        void _Detail(const char* format, va_list ap) ;
        void _Debug(const char* format, va_list ap) ;
        void _Warning(const char* format, va_list ap) ;
        void _Error(const char* format, va_list ap) ;
    private:
        eLogLevel   m_eLv ;
    } ;

    extern void Log(eLogLevel lv, const char* format, ...) ;
}

#endif




















